/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package FrameWork;

import javax.microedition.lcdui.Image;

/**
 *
 * @author ThanhTri
 */
public class Font_Large extends MySpriteFont {

    public Font_Large(Image _Image) {
        super(_Image);
        m_HeightFont = 17;
        int array[] = {
             0, 4, 11, 21, 30, 40, 51, 55, 63, 70, 81,
             91, 95,104,108,118,126,132,140,148,157,
            165,173,182,190,199,207,220,230,239,247,
            256,265,274,282,292,298,306,316,325,335,
            345,353,362,371,381,389,399,409,419,430,
            440,450,458,468,478 };
            m_ArrayWidth = array;
    }
     public int ChoseFrame (int _C){
        if (_C==32){
               return 53;
        }
        if (_C==60)
            return 7;
        if (_C == 62)
            return 8;
        if (_C==58){
            return 54;
        }
        if (_C<=57 && _C >=33 ){
            return (_C-33);
         }
        if (_C<=90 && _C>=65 ){
             return (_C-65+27);
        }
        if (_C<=122  && _C >=97 ){
             return (_C-97+27);
        }
        return 0;
    }
    
    
}
